<!doctype html>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/modules/cms/front/include/taglib.jsp"%>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>山东省林业厅</title>
    <meta name="description" content="">
    <meta name="keywords" content="index">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="icon" type="image/png" href="${ctxStatic}/sdlyfp/i/favicon.png">
    <link rel="apple-touch-icon-precomposed" href="${ctxStatic}/sdlyfp/i/app-icon72x72@2x.png">
    <meta name="apple-mobile-web-app-title" content="Amaze UI" />
    <link rel="stylesheet" href="${ctxStatic}/sdlyfp/css/amazeui.min.css" />
    <link rel="stylesheet" href="${ctxStatic}/sdlyfp/css/admin.css">
    <link rel="stylesheet" href="${ctxStatic}/sdlyfp/css/app.css">
    <script src="${ctxStatic}/sdlyfp/js/echarts.min.js"></script>
</head>

<body data-type="index">
    
<!-- head -->
<jsp:include page="../basic/head.jsp" flush="false"></jsp:include>

<div class="tpl-page-container tpl-page-header-fixed">

<!-- 菜单 -->
<jsp:include page="../basic/menu.jsp" flush="false"></jsp:include>


<div class="tpl-content-wrapper">
   <div class="tpl-portlet-components">
       <div class="portlet-title">
           <div class="caption font-green bold">
               <span class="am-icon-code"></span>  本级任务完成情况统计
           </div>
           <div class="tpl-portlet-input tpl-fz-ml">
               <div class="portlet-input input-small input-inline">
                   <div class="input-icon right">   
                        </div>
               </div>
           </div>

       </div>

       <div class="tpl-block">
           <div class="am-g">
               <div class="am-u-sm-12 am-scrollable-horizontal"  >
             <style>.hdm{ margin-bottom:5px}
		.content{ font-size: 12px; }
		                  </style>
		<div  class="hdm am-btn am-btn-primary am-btn-block" >
			经济林扶贫面积：  (<b><fmt:formatNumber type="number" value="${forestTotalRate.forestRate }" pattern="0.0" maxFractionDigits="1"/>%</b>)
		</div>
		<div class="content" style="display:none;">
		 任务目标：${forestTotalRate.forestArea }亩 实际完成：<fmt:parseNumber integerOnly="true" value="${forestTotalRate.realArea }"/>亩 <!-- 人数：200人 -->
		</div>
		
		<div  class="hdm am-btn am-btn-primary am-btn-block">
			经济林扶贫人数 (<b><fmt:formatNumber type="number" value="${forestTotalRate.peopleRate }" pattern="0.0" maxFractionDigits="1"/>%</b>)
		</div>
		<div class="content" style="display:none;">
		任务目标：${forestTotalRate.forestPeople }人 实际完成：${forestTotalRate.realPeople }人
		</div>
		
		<div  class="hdm am-btn am-btn-primary am-btn-block">
			护林员岗位扶贫 (<b><fmt:formatNumber type="number" value="${postTotalRate.rate }" pattern="0.0" maxFractionDigits="1"/>%</b>)
		</div>
		<div class="content" style="display:none;">
		任务目标：${postTotalRate.rangerPost }人 实际完成：${postTotalRate.realPeople }人
		</div>
		
		<%-- <div  class="hdm am-btn am-btn-primary am-btn-block">
			企业（合作社）扶贫 (<b><fmt:formatNumber type="number" value="${companyTotal.companyRate }" pattern="0.0" maxFractionDigits="1"/>%</b>)
		</div>
		<div class="content" style="display:none;">
		任务目标：${companyTotal.totalCt }个 实际完成：${companyTotal.companyCt }个  人数：${companyTotal.realPeople }人
		</div> --%>
		
		<div  class="hdm am-btn am-btn-primary am-btn-block">
			林业龙头企业扶贫人数 (<b><fmt:formatNumber type="number" value="${companyTotalOnly.companyRate }" pattern="0.0" maxFractionDigits="1"/>%</b>)
		</div>
		<div class="content" style="display:none;">
		任务目标：企业${companyTotalOnly.totalCt }个  帮扶XX户XX人 </br>实际完成：企业${companyTotalOnly.companyCt }个  帮扶XX户${companyTotalOnly.realPeople }人
		</div>
		<div  class="hdm am-btn am-btn-primary am-btn-block">
			林业合作社扶贫人数(<b><fmt:formatNumber type="number" value="${coopTotalOnly.companyRate }" pattern="0.0" maxFractionDigits="1"/>%</b>)
		</div>
		<div class="content" style="display:none;">
		任务目标：合作社${coopTotalOnly.totalCt }个 帮扶XX户XX人  </br>实际完成：合作社${coopTotalOnly.companyCt }个  帮扶XX户${coopTotalOnly.realPeople }人
		</div>
		
		
		<div  class="hdm am-btn am-btn-primary am-btn-block">
			科技下乡 (<b><fmt:formatNumber type="number" value="${regionCompanyTotal.countryRate }" pattern="0.0" maxFractionDigits="1"/>%</b>)
		</div>
		<div class="content" style="display:none;">
		任务目标：${regionCompanyTotal.total }${fns:getUser().area.type lt 4?'次':'个村'} 
		实际完成：${regionCompanyTotal.real }${fns:getUser().area.type lt 4?'次':'个村'}
		</div>
		
		<div  class="hdm am-btn am-btn-primary am-btn-block">
			县技术专家人数 (<b><fmt:formatNumber type="number" value="${clearTotal.countyRate }" pattern="0.0" maxFractionDigits="1"/>%</b>)
		</div>
		<div class="content" style="display:none;">
		任务目标：${clearTotal.countyTotal *5}人 实际完成：${clearTotal.realClear }人
		</div>
		
		<div  class="hdm am-btn am-btn-primary am-btn-block">
			乡镇技术员人数 (<b><fmt:formatNumber type="number" value="${clearTotal.townRate }" pattern="0.0" maxFractionDigits="1"/>%</b>)
		</div>
		<div class="content" style="display:none;">
		任务目标：${clearTotal.townTotal *3}人 实际完成：${clearTotal.realTownClear }人
		</div>
		
		<div  class="hdm am-btn am-btn-primary am-btn-block">
			村技术明白人数 (<b><fmt:formatNumber type="number" value="${clearTotal.countryRate }" pattern="0.0" maxFractionDigits="1"/>%</b>) 
		</div>
		<div class="content" style="display:none;">
		任务目标：${clearTotal.countryTotal }人 实际完成：${clearTotal.realCountryClear }人
		</div>
		
		<input type="button" onclick="goBack()" class="am-topbar-btn am-topbar-toggle am-btn am-btn-sm am-btn-success am-show-sm-only" value = "返回上级">
		<input type="button" onclick="goBack('${ctx }?menuId=index')" class="am-topbar-btn am-topbar-toggle am-btn am-btn-sm am-btn-success am-show-sm-only" value = "返回首页">
    
    </div> 
    </div>
  </div>
  </div>
 </div> 
    
 </div> 

    <script src="${ctxStatic}/sdlyfp/js/jquery.min.js"></script>
    <script src="${ctxStatic}/sdlyfp/js/amazeui.min.js"></script>
    <script src="${ctxStatic}/sdlyfp/js/iscroll.js"></script>
    <script src="${ctxStatic}/sdlyfp/js/app.js"></script>
	<script>
	/* $(".hdm").click(function(){
		
        var menu_li = $('.hdm');
        if($(this).hasClass("am-btn-warning")){
		$(".hdm").removeClass("am-btn-warning");
		$('.content').hide();
		// return false;	
		} else{
			$(this).addClass("am-btn-warning").siblings().removeClass("am-btn-warning").toggle();
	        var index = menu_li.index(this);   
	        $('.content').hide().eq(index).toggle(); 
	        return false;
		}
   }) */
   $(".hdm").click(function(){
	   var menu_li = $('.hdm');
	   if($(this).hasClass("am-btn-warning")){
	   $(".hdm").removeClass("am-btn-warning");
	   $('.content').hide();
	   return false;	
	   } else{
	   	$(".hdm").removeClass("am-btn-warning");
	            $(this).addClass("am-btn-warning");
	            var index = menu_li.index(this);   
	            $('.content').hide().eq(index).toggle(); 
	   		
	            return false;	
	   		 }
	   	})

   
	$(function(){
		// $(".tpl-left-nav-menu").find("li a").eq(0).addClass("active");
		
	var menuId = '${menuId }';
	if(menuId)
	{
		$(".tpl-left-nav-menu").find("#"+menuId).addClass("active");
	}
		
	})
	
	var message = "${message}";
	if(message)
	{
		var messageType = "${messageType}";
		msg(message,3000,messageType);
	}
	
	</script>
</body>
</html>